You are here: Protection monitoring > Statistics > Viewing the statistics file

Viewing the statistics file

The statistics log file created is a binary file. To view the log file, you must run DTStat from a command prompt. From the directory where Double-Take Availability is installed, run the DTStat command.

Command DTSTAT
Description Starts the DTStats statistics logging utility from a command prompt
Syntax DTSTAT [-p][-i <interval>][-n <iterations>][-t <filename>] [-f <filename>] [-s <filename>] [-st <filename>][-IP <address>] [-START <mm/dd/yyyy hh:mm>][-STOP <mm/dd/yyyy hh:mm>] [-SERVER <ip_address> <port_number>]
Options
  • -p—Do not print the output to the screen
  • -i interval—Refresh from shared memory every interval seconds
  • -n iterations—The number of times to repeat the statistics run
  • -t filename—Save the data from memory to the specified binary file filename
  • -f filename—Reads from a previously saved binary file, filename, that was generated using the -t option instead of reading from memory
  • -s filename—Saves only the connection data from the data in memory to an ASCII, comma-delimited file, filename
  • -st filename—Saves only the target data from the data in memory to an ASCII, comma-delimited file, filename
  • -f filename1 -s filename2—Saves only the connection data from a previously saved binary file, filename1, to an ASCII, comma-delimited file, filename2
  • -f filename1 -st filename2—Saves only the target data from a previously saved binary file, filename1, to an ASCII, comma-delimited file, filename2
  • -IP address—Filters out the specified address in the IP address field and prints only those entries. Specify more than one IP address by separating them by a comma.
  • -START mm/dd/yyyy hh:mm—Filters out any data prior to the specified date and time
  • -STOP mm/dd/yyyy hh:mm—Filters out any data after the specified date and time
  • -SERVER ip_address port_number—Connects DTStat to the specified IP address using the specified port number instead of to the local machine
Examples
  • DTStat -i 300
  • DTStat -p -i 300 -t AlphaStats.sts
  • DTStat -f AlphaStats.sts -s AlphaStats.csv -start 02/02/2007 09:25
  • DTStat -server 206.31.4.51 1106
Notes
  • This command is not case-sensitive.
  • If no options are specified, DTStat will print the output to the screen at an interval of every one second.
  • If the statistics are not changing, DTStat will discontinue writing until statistics begin updating again.

Related Topics